home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
archive
/
cx201e.arj
/
CX.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-03-01
|
871b
|
26 lines
' Cx interface.
' Copyright (c) 1990-1994 Eugene Nelson, Four Lakes Computing.
DECLARE FUNCTION CXCOMPRESS% ALIAS "CX_COMPRESS" (BYVAL method% SEG obuff%, BYVAL osize%, SEG ibuff%, BYVAL isize%, SEG tbuff%, BYVAL tsize%)
DECLARE FUNCTION CXDEMPRESS% ALIAS "CX_DECOMPRESS" (SEG obuff%, BYVAL osize%, SEG ibuff%, BYVAL isize%, SEG tbuff%, BYVAL tsize%)
DECLARE FUNCTION CXCRC% ALIAS "CX_CRC" (SEG buff%, BYVAL bytes%)
Const CX_ERR_INVALID = (65535 - 0)
Const CX_ERR_METHOD = (65535 - 1)
Const CX_ERR_BUFFSIZE = (65535 - 2)
Const CX_ERR_TEMPSIZE = (65535 - 3)
Const CXINTSIZE = 2
Const CX_METHOD1 = (1)
Const CX_METHOD2 = (2)
Const CX_METHOD3 = (3)
Const CX_METHODC = (4)
Const CX_METHODD = (5)
Const CX_MAX_BUFFER = (65000)
Const CX_CSLOP = (300)
Const CX_C_MINTEMP = (18 * 1024)
Const CX_C_MAXTEMP = (65500)
Const CX_D_MINTEMP = (7 * 1024)